package top.laoshuzi.designpatterns.base.created.singleton;

import org.junit.Test;

public class Client {

    @Test
    public void operation() {
        System.out.println(Singleton.INSTANCE.getName());
        System.out.println(Singleton1.getInstance().getName());
        System.out.println(Singleton2.getInstance().getName());
        System.out.println(Singleton3.getInstance().getName());
        System.out.println(Singleton4.getInstance().getName());
    }

}
